package com.jzmy.specialist.controller.feign;

import com.jzmy.specialist.entity.Experts;
import com.jzmy.specialist.service.ExpertsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @author mengzhichao
 * @create 2022-08-30-9:24
 */
@RestController
@RequestMapping("/ExpertsFeignController")
public class ExpertsFeignController {

    @Autowired
    private ExpertsService expertsService;


    @PostMapping("/findOneByKv")
    public Experts findOneByKv(@RequestBody Object... params) {
        return expertsService.findOneByKv(params);
    }
}
